Jeepster's FSERVE Counter: Primary Features: *It counts the total number of files taken during an Fserve session by each user individually. *It acknowledges in the user's Fserve Window each time they get a file with the file name and the total number of files the user has taken during that Fserve session. *It tells them when they have taken the maximum allowed number (again in the Fserve Window). *It puts them on a HOG list if they take more than the maximum and tells them they are hogging in the Fserve Window. It also Notices you that the user has started hogging and how many files he has taken in the session (each time they do another "get" it will "notice" you). *It imposes a five minute break between Fserve's to the same user *It imposes a ten minute "penalty" if the user's doesn't quit properly *It denies any future Fserves to a user that HOGS files! (Userlevel 55) *Two more counters for File Traders are included at the end of this file %%%%%%%%% The COUNTER (the simplest way to put this in is to copy and paste it!)%%%%%%%%%%%%%%%%%%%%%%% (yes, it keeps going thataway --> quite awhile!) #JeepzCntr start 1:ON TEXT:!Jeepz*:#:/fserve $nick 9 D:\41image\ D:\41welcom\welcome.txt 1:ON SERV:get*:/inc % $+ $nick 1 | /DCC Send $nick $cd $+ \ $+ $parm2 | /auser -a 54 $nick | /timer 1 1 /dde if mirc "" % $+ $nick << 5 {/msg = $+ $nick Sending $parm2 now, number % $+ $nick of 5 allowed && /msg = $+ $nick Plz use EXIT or BYE when you are finished.}[/dde if mirc "" % $+ $nick >> 5 {/guser 55 $nick 3 && /msg = $+ $nick FILE HOG! You've made the PORKER LIST!!! && /notice $me $nick has blown the Fserve Limit and is at file number % $+ $nick !!!}[/msg = $+ $nick Sending $parm2 Plz type EXIT or BYE (no, it won't affect the stuff you have coming now) Asking for more files now will STOP future Fserve's for at least 30 days]] 1:ON SERV:bye*:/unset % $+ $nick | /ruser 54 $nick | /auser -a 53 $nick | /timer 1 300 /ruser 53 $nick | /notice $nick Hope you enjoyed the visit. Please wait 5 minutes before using my Fserve again :> 1:ON SERV:exit*:/unset % $+ $Nick | /ruser 54 $nick | /auser -a 53 $nick | /timer 1 300 /ruser 53 $nick | /notice $nick Hope you enjoyed the visit. Please wait 5 minutes before using my Fserve again :> +53:ON TEXT:!Jeepz:#:/notice $Nick Hey, you didn't wait 5 minutes....Be Patient! +54:ON TEXT:!Jeepz:#:/notice $nick You didn't close the LAST Fserve with BYE or EXIT so you've earned 10 minutes in the penalty box, try again in 10 minutes! | /timer 1 600 /ruser 54 $nick +55:ON TEXT:!Jeepz:#:/notice $nick No Way! $nick $+ ...you overstayed your welcome last time and don't have access to my fserve anymore!!! #JeepzCntr end %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% This counter requires that you have mIRC 4.1 (by Mardam-Bey) and mIRCiF (by StOrmCat) and have it on. It should be placed in your Remote Events with Listening checked on. The DDE server command is: /ddeserver on mirc I usually set the DDE server command as part of my perform options. I also start mIRCiF at the same time in perform. <<>> The JeepCounter above (by line): The JeepCounter consists of the group called #JeepzCntr. (#JeepzCntr start ~ #JeepzCntr end) 1>Offers the Fserve via a standard Remote Event using ON TEXT command. 2>Sets a unique variable using their nick, Set's the individual to level 54 on your userlist (just in case they don't close the Fserve with a standard BYE or EXIT command. (See the Penalty at Line 9), Sends the requested File to the user, and finally evaluates the %var (in this case is will be % plus their nick). 2a>The /dde if mirc "" portion uses DDE to compare the value of the variable to the limit (in this example 5) and do one of three things...variable is below 5 it tells them the file name that is coming and the number of files they have asked for. If the variable is equal to 5, it tells them that is the last file, asks them to type bye or exit and warns them of consequences if they keep asking for more files. If the variable is over 5, it adds them via a /guser command to your userlist at user level 55 which is reserved for Fserve Hogs, See line 7 for what happens to them the next time they try to use your Fserve! It also lets them know they are a FILE HOG each time they ask for another file! 3>ON SERVE:bye*: will unset the variable if they type "bye" in the DCC Window (and closes the Fserve). It also sets a User Level of 53 for the user that keeps them from using your Fserve for five minutes! 4>ON SERVE:exit*: will unset the variable if they type "exit" in the DCC Window (and closes the Fserve). It sets a User Level of 53 like Line 5 and removes it after 5 minutes. 5>+53:ON TEXT: keeps the person from getting right back into your Fserve and allows someone else a chance. 6>+54:ON TEXT: This puts a 10 minute penalty on anyone that didn't close the Fserve using the BYE or EXIT command (thus leaving their %nick to muddy up your Variable list). It takes them off the list after 10 minutes. 7>+55:ON TEXT: if someone has exceeded the Fserve limit previously, they will be on your User List with a level of 55 by address (not nick). They will get the notice that they have abused your Fserve and won't be Fserved! You should make them beg a bit before you relent...or don't relent at all ! *****************YOU NEED TO MODIFY THESE PARTS FOR SURE!*********************************** The things YOU need to modify in the lines to make it work for you: >The Fserve text command, mine is !Jeepz You should change that to your command. >The Fserve directory path in the example works for my system, change it to the correct path for your system. >You need to create a welcome.txt that goes in the same directory as your basic Fserve. **************************************************************************************** If you want to occasionally clear all the variables, use the /unsetall command. You may want to flush the various levels (53, 54, 55) from time to time. See the help or the FAQ for details on the Flush command. If you want to remove someone from the HOG List, use the /ruser command. While I use /auser to add them to level 53 and 54, I use /guser to add them to level 55 by address, this way they can't sneak back in with a different nick. The command to remove them from the HOG list is: /ruser 55 3 Groups may be turned on or off from the edit line of any window in mIRC. to turn on, type: /enable #JeepzCntr to turn off, type: /disable #JeepzCntr This example allows 5 (five) files as the max number of total "gets", if you want to increase that, you must replace the 5 with whatever number you want to set the maximum number of files taken in one fserve session. ALL THE 5's! Yes, you *can* limit the number of files they take at one time in the Fserve line, but that only limits how many files they can be downloading at one time, it doesn't limit the number of files they can get over the entire duration of the Fserve. The five and ten minute penalties are set in seconds by the timers. If you want to change the penalty's 300 = 5 minutes, 600 = 10 minutes. You can do the math for your own penalties. You may want to send a message to the channel you are on rather than notice yourself that someone is hogging files. You can change the /notice $me in line 4 to /msg $ You must use the actual channel name, not $chan or # there. If you want to keep somebody from using your Fserve more than once a day, you can take the "| /ruser 53 $nick" portions of lines 6 and 7, then in Line 8 modify it to something like "/notice $nick Sorry, you've used my Fserve once today, tomorrow!" You will have to flush the level 53's once a day (or however often you want to clear that list). As a nod to me, I ask that you keep the group name #JeepzCntr if you use this counter. (or JeepzCntr2, JeepzCntr3, if you use them) TWO MORE COUNTERS>>> These set the file limit based on the number of files a user has sent to you! JeepzCntr2 is a One-For-One Counter, JeepzCntr3 is a 3-FOR-1 Counter. #JeepzCntr2 1:ON NOTICE:*DCC SEND*:*:/inc % $+ $nick 3 | /auser -a 50 $nick | /notice $nick thanks for $parm3, you may use my Fserve by typing ! +50:ON TEXT:!Jeepz:#:/fserve $nick 3 D:\41image\ D:\41image\Welcome2.txt 1:ON TEXT:!Jeepz:#:/notice $nick You haven't sent me any files so my Fserve isn't open to you. I trade files on a "one for one" Basis! 1:ON SERV:get*:/dec % $+ $nick 1 | /DCC Send $nick $cd $+ \ $+ $parm2 | /auser -a 54 $nick | /timer 1 1 /dde if mirc "" % $+ $Nick >> 0 {/msg = $+ $nick Sending $parm2 now, you have % $+ $nick files left to take. && /ruser 50 $nick}[/dde if mirc "" % $+ $nick << 0 {/guser 55 $nick 3 && /msg = $+ $nick FILE HOG! You've made the PORKER LIST!!! && /notice $me $nick has blown the Fserve Limit and they're at debt level % $+ $nick !!! && /guser 55 $nick 3}[/msg = $+ $nick Sending $parm2 You've taken your share...please type BYE or EXIT (no, it won't affect the stuff you have coming now) Taking more files will KILL any future Fserve's for at least 30 days (or you could send me more files now)]] 1:ON SERV:bye*:/unset % $+ $nick | /ruser 54 $nick | /auser 53 $nick | /timer 1 300 /ruser 53 $nick | /notice $nick Please wait 5 minutes before trying this Fserve again ;) 1:ON SERV:exit*:/unset % $+ $nick | /ruser 54 $nick | /auser 53 $nick | /timer 1 300 /ruser 53 $nick | /notice $nick Please wait 5 minutes before trying this Fserve again ;) +53:ON TEXT:!Jeepz:#:/notice $nick Hey, you didn't wait 5 minutes....Be Patient! +54:ON TEXT:!Jeepz:#:/notice $nick You didn't close the LAST Fserve with BYE or EXIT so you've earned 10 minutes in the penalty box, try again in 10 minutes! | /timer 1 600 /ruser 54 $nick +55:ON TEXT:!Jeepz:#:/notice $nick No Way! $nick $+ ...you overstayed your welcome last time and don't have access to my fserve anymore!!! #JeepzCntr2 end JeepzCounter #3 sets the counter so 3 files may be taken for each one the user sent you. (Three for One) #JeepzCntr3 1:ON NOTICE:*DCC SEND*:*:/inc % $+ $nick 3 | /auser 50 $nick | /notice $nick thanks for $parm3, you may use my Fserve by typing !Jeepz 50:ON TEXT:!Jeepz:#:/fserve $nick 3 D:\41image\ D:\41image\Welcome3.txt 1:ON TEXT:!Jeepz:#:/notice $nick You haven't sent me any files so my Fserve isn't open to you. I trade files on a "3 for each 1 you send" Basis! 1:ON SERV:get*:/dec % $+ $nick 1 | /DCC Send $nick $cd $+ \ $+ $parm2 | /auser -a 54 $nick | /timer 1 1 /dde if mirc "" % $+ $nick >> 0 {/msg = $+ $nick Sending $parm2 now, You have % $+ $nick files left to take.}[/dde if mirc "" % $+ $nick << 0 {/guser 55 $nick 3 && /msg = $+ $nick FILE HOG! You've made the PORKER LIST!!! && /notice $me $parm1 has blown the Fserve Limit and their debt level is at % $+ $nick !!! && /ruser 50 $nick}[/msg = $+ $nick Sending $parm2 You've taken your share...please type BYE or EXIT (no, it won't affect the stuff you have coming now) && /msg = $+ $nick Taking for anymore files will KILL any future Fserve's for at least 30 days && /ruser 50 $nick]] 54:ON PART:#:/unset % $+ $nick | /ruser 54 $nick 1:ON SERV:bye*:/unset % $+ $nick | /ruser 54 $nick | /auser -a 53 $nick | /timer 1 300 /ruser 53 $nick | /notice $nick Please wait 5 minutes before trying this Fserve again ;) 1:ON SERV:exit*:/unset % $+ $nick | /ruser 54 $nick | /auser -a 53 $nick | /timer 1 300 /ruser 53 $nick | /notice $nick Please wait 5 minutes before trying this Fserve again ;) +53:ON TEXT:!Jeepz:#:/notice $nick Hey, you didn't wait 5 minutes....Be Patient! +54:ON TEXT:!Jeepz:#:/notice $nick You didn't close the LAST Fserve with BYE or EXIT so you've earned 10 minutes in the penalty box, try again in 10 minutes! | /timer 1 600 /ruser 54 $nick +55:ON TEXT:!Jeepz:#:/notice $nick No Way! $nick $+ ...you overstayed your welcome last time and don't have access to my fserve anymore!!! #JeepzCntr3 end You will have to modify the Command !Jeepz and the path of the Fserve for your system. The user is notified of the number of files remaining. File Hoggin will notice you a negative number. That is the number of files owed you. Courtesy of Jeepster from DALnet Insight and Inspiration were provided by Despayre, Javier, Poolshark and OkeyDokey ! ...However, don't be bugging them for support, #mIRC Ops don't support pre-fab scripts, if I'm around I'll be glad to help you. There are a number of ways to do the Fserve Counter, I chose the above because they are simple to copy and paste. If you choose to let mIRC's fserve send the files instead of my manual line, you simply remove the /dcc send $nick $cd $+ \ $+ $parm2 and add ":>" to the end of the line (with out the quotes). I found that under certain circumstances...the mIRC fserve did not work reliably while the manual line never seemed to fail.